package chinatelecom.feilong.framework.web.license.service.impl;

import chinatelecom.feilong.framework.web.license.dao.ILicenseTemplateDao;
import chinatelecom.feilong.framework.web.license.entity.LicenseTemplate;
import chinatelecom.feilong.framework.web.license.service.ILicenseTemplateService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Transactional
@Service
public class LicenseTemplateServiceImpl implements ILicenseTemplateService {
     @Resource
     private ILicenseTemplateDao iLicenseTemplateDao;

     @Override
     public List<LicenseTemplate> getLicenseType() {
          List licenseType = iLicenseTemplateDao.getLicenseType();
          return licenseType;
     }

}
